// pages/payH5/payH5.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
      url:''
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad(options) {
    let houseId = options.houseId;
    let type = options.type;
    let uid = wx.getStorageSync('token')
    if(houseId&&type){
      let url = "http://www.house.com/index.php/api/pay?token="+uid+"&house_id="+houseId+"&type="+type
      console.log(url)
      this.setData({
      url:url
    })
    }
    
  },
})